<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"> 
<title>)</title> 
<script src="http://cdn.static.runoob.com/libs/jquery/2.0.0/jquery.min.js">
</script>
<script>
$(document).ready(function()
{
    $("button").click(function(){
        $("p").hide();
    });
});
   
</script>
</head>

<body>
<h1>lala</h1>
<p>段落</p>
<p>哈哈</p>     
<button>点击</button>
</body>
</html>